home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / os2 / fixkey.arj / SOURCE.ZIP / kbdscan.h < prev    next >
Text File  |  1992-08-19  |  9KB  |  159 lines

  1. /* sys/kbdscan.h (emx+gcc) */
  2.  
  3. #if !defined (_SYS_KBDSCAN_H)
  4. #define _SYS_KBDSCAN_H
  5.  
  6. /* [DOS]: DOS only */
  7. /* [OS2]: OS/2 only */
  8.  
  9. #define K_ALT_ESC               0x01   /* <Alt>+<Esc>    [DOS]*/
  10. #define K_CTRL_SPACE            0x02   /* <Ctrl>+<Space> [OS2]*/
  11. #define K_CTRL_AT               0x03   /* <Ctrl>+<@> */
  12. #define K_SHIFT_INS             0x04   /* <Shift>+<Ins>  [OS2]*/
  13. #define K_SHIFT_DEL             0x05   /* <Shift>+<Del>  [OS2]*/
  14. #define K_ALT_BACKSPACE         0x0e   /* <Alt>+<Backspace> */
  15. #define K_BACKTAB               0x0f   /* <Shift>+<Tab> */
  16. #define K_ALT_Q                 0x10   /* <Alt>+<Q> */
  17. #define K_ALT_W                 0x11   /* <Alt>+<W> */
  18. #define K_ALT_E                 0x12   /* <Alt>+<E> */
  19. #define K_ALT_R                 0x13   /* <Alt>+<R> */
  20. #define K_ALT_T                 0x14   /* <Alt>+<T> */
  21. #define K_ALT_Y                 0x15   /* <Alt>+<Y> */
  22. #define K_ALT_U                 0x16   /* <Alt>+<U> */
  23. #define K_ALT_I                 0x17   /* <Alt>+<I> */
  24. #define K_ALT_O                 0x18   /* <Alt>+<O> */
  25. #define K_ALT_P                 0x19   /* <Alt>+<P> */
  26. #define K_ALT_LEFT_BRACKET      0x1a   /* <Alt>+<[> */
  27. #define K_ALT_RIGHT_BRACKET     0x1b   /* <Alt>+<]> */
  28. #define K_ALT_RETURN            0x1c   /* <Alt>+<Return> */
  29. #define K_ALT_A                 0x1e   /* <Alt>+<A> */
  30. #define K_ALT_S                 0x1f   /* <Alt>+<S> */
  31. #define K_ALT_D                 0x20   /* <Alt>+<D> */
  32. #define K_ALT_F                 0x21   /* <Alt>+<F> */
  33. #define K_ALT_G                 0x22   /* <Alt>+<G> */
  34. #define K_ALT_H                 0x23   /* <Alt>+<H> */
  35. #define K_ALT_J                 0x24   /* <Alt>+<J> */
  36. #define K_ALT_K                 0x25   /* <Alt>+<K> */
  37. #define K_ALT_L                 0x26   /* <Alt>+<L> */
  38. #define K_ALT_SEMICOLON         0x27   /* <Alt>+<;> */
  39. #define K_ALT_RIGHT_QUOTE       0x28   /* <Alt>+<'> */
  40. #define K_ALT_LEFT_QUOTE        0x29   /* <Alt>+<`> */
  41. #define K_ALT_BACKSLASH         0x2b   /* <Alt>+<\> */
  42. #define K_ALT_Z                 0x2c   /* <Alt>+<Z> */
  43. #define K_ALT_X                 0x2d   /* <Alt>+<X> */
  44. #define K_ALT_C                 0x2e   /* <Alt>+<C> */
  45. #define K_ALT_V                 0x2f   /* <Alt>+<V> */
  46. #define K_ALT_B                 0x30   /* <Alt>+<B> */
  47. #define K_ALT_N                 0x31   /* <Alt>+<N> */
  48. #define K_ALT_M                 0x32   /* <Alt>+<M> */
  49. #define K_ALT_COMMA             0x33   /* <Alt>+<,> */
  50. #define K_ALT_PERIOD            0x34   /* <Alt>+<.> */
  51. #define K_ALT_SLASH             0x35   /* <Alt>+</> */
  52. #define K_ALT_PAD_ASTERISK      0x37   /* <Alt>+<*> (numeric keypad) */
  53. #define K_ALT_SPACE             0x39   /* <Alt>+<Space>  [OS2] */
  54. #define K_F1                    0x3b   /* <F1> */
  55. #define K_F2                    0x3c   /* <F2> */
  56. #define K_F3                    0x3d   /* <F3> */
  57. #define K_F4                    0x3e   /* <F4> */
  58. #define K_F5                    0x3f   /* <F5> */
  59. #define K_F6                    0x40   /* <F6> */
  60. #define K_F7                    0x41   /* <F7> */
  61. #define K_F8                    0x42   /* <F8> */
  62. #define K_F9                    0x43   /* <F9> */
  63. #define K_F10                   0x44   /* <F10> */
  64. #define K_HOME                  0x47   /* <Home> */
  65. #define K_UP                    0x48   /* <Up arrow> */
  66. #define K_PAGEUP                0x49   /* <Page up> */
  67. #define K_ALT_PAD_MINUS         0x4a   /* <Alt>+<-> (numeric keypad) */
  68. #define K_LEFT                  0x4b   /* <Left arrow> */
  69. #define K_CENTER                0x4c   /* Center cursor */
  70. #define K_RIGHT                 0x4d   /* <Right arrow> */
  71. #define K_ALT_PAD_PLUS          0x4e   /* <Alt>+<+> (numeric keypad) */
  72. #define K_END                   0x4f   /* <End> */
  73. #define K_DOWN                  0x50   /* <Down arrow> */
  74. #define K_PAGEDOWN              0x51   /* <Page down> */
  75. #define K_INS                   0x52   /* <Ins> */
  76. #define K_DEL                   0x53   /* <Del> */
  77. #define K_SHIFT_F1              0x54   /* <Shift>+<F1> */
  78. #define K_SHIFT_F2              0x55   /* <Shift>+<F2> */
  79. #define K_SHIFT_F3              0x56   /* <Shift>+<F3> */
  80. #define K_SHIFT_F4              0x57   /* <Shift>+<F4> */
  81. #define K_SHIFT_F5              0x58   /* <Shift>+<F5> */
  82. #define K_SHIFT_F6              0x59   /* <Shift>+<F6> */
  83. #define K_SHIFT_F7              0x5a   /* <Shift>+<F7> */
  84. #define K_SHIFT_F8              0x5b   /* <Shift>+<F8> */
  85. #define K_SHIFT_F9              0x5c   /* <Shift>+<F9> */
  86. #define K_SHIFT_F10             0x5d   /* <Shift>+<F10> */
  87. #define K_CTRL_F1               0x5e   /* <Ctrl>+<F1> */
  88. #define K_CTRL_F2               0x5f   /* <Ctrl>+<F2> */
  89. #define K_CTRL_F3               0x60   /* <Ctrl>+<F3> */
  90. #define K_CTRL_F4               0x61   /* <Ctrl>+<F4> */
  91. #define K_CTRL_F5               0x62   /* <Ctrl>+<F5> */
  92. #define K_CTRL_F6               0x63   /* <Ctrl>+<F6> */
  93. #define K_CTRL_F7               0x64   /* <Ctrl>+<F7> */
  94. #define K_CTRL_F8               0x65   /* <Ctrl>+<F8> */
  95. #define K_CTRL_F9               0x66   /* <Ctrl>+<F9> */
  96. #define K_CTRL_F10              0x67   /* <Ctrl>+<F10> */
  97. #define K_ALT_F1                0x68   /* <Alt>+<F1> */
  98. #define K_ALT_F2                0x69   /* <Alt>+<F2> */
  99. #define K_ALT_F3                0x6a   /* <Alt>+<F3> */
  100. #define K_ALT_F4                0x6b   /* <Alt>+<F4> */
  101. #define K_ALT_F5                0x6c   /* <Alt>+<F5> */
  102. #define K_ALT_F6                0x6d   /* <Alt>+<F6> */
  103. #define K_ALT_F7                0x6e   /* <Alt>+<F7> */
  104. #define K_ALT_F8                0x6f   /* <Alt>+<F8> */
  105. #define K_ALT_F9                0x70   /* <Alt>+<F9> */
  106. #define K_ALT_F10               0x71   /* <Alt>+<F10> */
  107. #define K_CTRL_PRTSC            0x72   /* <Ctrl>+<PrtSc> */
  108. #define K_CTRL_LEFT             0x73   /* <Ctrl>+<Left arrow> */
  109. #define K_CTRL_RIGHT            0x74   /* <Ctrl>+<Right arrow> */
  110. #define K_CTRL_END              0x75   /* <Ctrl>+<End> */
  111. #define K_CTRL_PAGEDOWN         0x76   /* <Ctrl>+<Page down> */
  112. #define K_CTRL_HOME             0x77   /* <Ctrl>+<Home> */
  113. #define K_ALT_1                 0x78   /* <Alt>+<1> */
  114. #define K_ALT_2                 0x79   /* <Alt>+<2> */
  115. #define K_ALT_3                 0x7a   /* <Alt>+<3> */
  116. #define K_ALT_4                 0x7b   /* <Alt>+<4> */
  117. #define K_ALT_5                 0x7c   /* <Alt>+<5> */
  118. #define K_ALT_6                 0x7d   /* <Alt>+<6> */
  119. #define K_ALT_7                 0x7e   /* <Alt>+<7> */
  120. #define K_ALT_8                 0x7f   /* <Alt>+<8> */
  121. #define K_ALT_9                 0x80   /* <Alt>+<9> */
  122. #define K_ALT_0                 0x81   /* <Alt>+<0> */
  123. #define K_ALT_MINUS             0x82   /* <Alt>+<-> */
  124. #define K_ALT_EQUAL             0x83   /* <Alt>+<=> */
  125. #define K_CTRL_PAGEUP           0x84   /* <Ctrl>+<Page up> */
  126. #define K_F11                   0x85   /* <F11> */
  127. #define K_F12                   0x86   /* <F12> */
  128. #define K_SHIFT_F11             0x87   /* <Shift>+<F11> */
  129. #define K_SHIFT_F12             0x88   /* <Shift>+<F12> */
  130. #define K_CTRL_F11              0x89   /* <Ctrl>+<F11> */
  131. #define K_CTRL_F12              0x8a   /* <Ctrl>+<F12> */
  132. #define K_ALT_F11               0x8b   /* <Alt>+<F11> */
  133. #define K_ALT_F12               0x8c   /* <Alt>+<F12> */
  134. #define K_CTRL_UP               0x8d   /* <Ctrl>+<Up arrow> */
  135. #define K_CTRL_PAD_MINUS        0x8e   /* <Ctrl>+<-> (numeric keypad) */
  136. #define K_CTRL_CENTER           0x8f   /* <Ctrl>+<Center> */
  137. #define K_CTRL_PAD_PLUS         0x90   /* <Ctrl>+<+> (numeric keypad) */
  138. #define K_CTRL_DOWN             0x91   /* <Ctrl>+<Down arrow> */
  139. #define K_CTRL_INS              0x92   /* <Ctrl>+<Ins> */
  140. #define K_CTRL_DEL              0x93   /* <Ctrl>+<Del> */
  141. #define K_CTRL_TAB              0x94   /* <Ctrl>+<Tab> */
  142. #define K_CTRL_PAD_SLASH        0x95   /* <Ctrl>+</> (numeric keypad) */
  143. #define K_CTRL_PAD_ASTERISK     0x96   /* <Ctrl>+<*> (numeric keypad) */
  144. #define K_ALT_HOME              0x97   /* <Alt>+<Home> */
  145. #define K_ALT_UP                0x98   /* <Alt>+<Up arrow> */
  146. #define K_ALT_PAGEUP            0x99   /* <Alt>+<Page up> */
  147. #define K_ALT_LEFT              0x9b   /* <Alt>+<Left arrow> */
  148. #define K_ALT_RIGHT             0x9d   /* <Alt>+<Right arrow> */
  149. #define K_ALT_END               0x9f   /* <Alt>+<End> */
  150. #define K_ALT_DOWN              0xa0   /* <Alt>+<Down arrow> */
  151. #define K_ALT_PAGEDOWN          0xa1   /* <Alt>+<Page down> */
  152. #define K_ALT_INS               0xa2   /* <Alt>+<Ins> */
  153. #define K_ALT_DEL               0xa3   /* <Alt>+<Del> */
  154. #define K_ALT_PAD_SLASH         0xa4   /* <Alt>+</> (numeric keypad) */
  155. #define K_ALT_TAB               0xa5   /* <Alt>+<Tab>  [DOS] */
  156. #define K_ALT_PAD_ENTER         0xa6   /* <Alt>+<Enter> (numeric keypad) */
  157.  
  158. #endif /* !defined (SYS_KBDSCAN_H) */
  159.